package com.xbongbong.saas.enums.base;

import lombok.Getter;

/**
 * 知识库，知识条目字段attr基础枚举
 *
 * @author rsc
 */
@Getter
public enum KnowledgeDataBaseEnum {
    /**
     * 基本信息
     */
    BASE_INFO("other_1"),
    CATALOGUE("catalogue"),
    TITLE("title"),
    EXPAND_CONSULT("expandConsult"),
    KEYWORDS("keywords"),
    LABEL("label"),
    CONTENT("content"),
    USAGE_COUNt("usageCount"),
    APPENDIX("appendix"),
    // 其他信息
    OTHER_INFO("other_2"),
    STATUS("status"),
    CREATOR_ID("creatorId"),
    ADD_TIME("addTime"),
    UPDATE_ID("updateId"),
    UPDATE_TIME("updateTime"),
    USAGE_COUNT("usageCount"),
    ;
    private final String attr;

    KnowledgeDataBaseEnum(String attr) {
        this.attr = attr;
    }

}
